package com.atguigu.service;

import com.atguigu.mapper.UserMapper;
import com.atguigu.pojo.User;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public interface UserService {




    PageInfo<User> getUserPageList(int pageNum, int pageSize);

    void insertUser(User user);

    void updateUser(User user);

    void deleteUserById(int id);

    User findUserById(int id);
}
